home *** CD-ROM | disk | FTP | other *** search
/ Virtual Top Model / Virtual Top Model - Disc 1.iso / modulos / mod-2.dxr / Internal_22_bucle auto.ls < prev    next >
Encoding:
Text File  |  1997-04-01  |  1.2 KB  |  41 lines

  1. on exitFrame
  2.   global sSerie, nOrden, nTempo
  3.   if the timer >= nTempo then
  4.     set nOrden to nOrden + 1
  5.     if (sSerie = "chica diesel") and (nOrden = 21) then
  6.       set sSerie to "blacknight"
  7.       set nOrden to 1
  8.     else
  9.       if (sSerie = "blacknight") and (nOrden = 20) then
  10.         set sSerie to "motard"
  11.         set nOrden to 1
  12.       else
  13.         if (sSerie = "motard") and (nOrden = 16) then
  14.           set sSerie to "sporte"
  15.           set nOrden to 1
  16.         else
  17.           if (sSerie = "sporte") and (nOrden = 19) then
  18.             set sSerie to "channel"
  19.             set nOrden to 1
  20.           else
  21.             if (sSerie = "channel") and (nOrden = 22) then
  22.               set sSerie to "batgirl"
  23.               set nOrden to 1
  24.             else
  25.               if (sSerie = "batgirl") and (nOrden = 17) then
  26.                 set sSerie to "chica diesel"
  27.                 set nOrden to 1
  28.               end if
  29.             end if
  30.           end if
  31.         end if
  32.       end if
  33.     end if
  34.     set the member of sprite 1 to member string(nOrden) of castLib sSerie
  35.     puppetTransition(member 1 of castLib "transiciones")
  36.     updateStage()
  37.     startTimer()
  38.   end if
  39.   go(the frame)
  40. end
  41.